/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ModulUI.java
 *
 * Created on May 27, 2009, 1:46:47 AM
 */

package erpretailx.inModul.ModulManager;

import javax.swing.JPanel;

/**
 *
 * @author Al Quthsi
 */
public class ModulUI extends JPanel {

    /** Creates new form ModulUI */
    public ModulUI() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedPane1 = new javax.swing.JTabbedPane();
        jXPanel1 = new org.jdesktop.swingx.JXPanel();
        jSplitPane1 = new javax.swing.JSplitPane();
        jXPanel3 = new org.jdesktop.swingx.JXPanel();
        jXTitledPanel1 = new org.jdesktop.swingx.JXTitledPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jXList1 = new org.jdesktop.swingx.JXList();
        jScrollPane1 = new javax.swing.JScrollPane();
        jEditorPane1 = new javax.swing.JEditorPane();
        jButton2 = new javax.swing.JButton();
        jXPanel2 = new org.jdesktop.swingx.JXPanel();
        jSplitPane2 = new javax.swing.JSplitPane();
        jXPanel4 = new org.jdesktop.swingx.JXPanel();
        jXTitledPanel2 = new org.jdesktop.swingx.JXTitledPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jXList2 = new org.jdesktop.swingx.JXList();
        jScrollPane4 = new javax.swing.JScrollPane();
        jEditorPane2 = new javax.swing.JEditorPane();
        jButton1 = new javax.swing.JButton();

        jXPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jSplitPane1.setDividerLocation(200);

        jXPanel3.setLayout(new javax.swing.BoxLayout(jXPanel3, javax.swing.BoxLayout.Y_AXIS));

        jXTitledPanel1.setMaximumSize(new java.awt.Dimension(2147483647, 20));
        jXTitledPanel1.setMinimumSize(new java.awt.Dimension(31, 29));
        jXTitledPanel1.setPreferredSize(new java.awt.Dimension(31, 25));
        jXTitledPanel1.setTitle("Daftar Modul");
        jXPanel3.add(jXTitledPanel1);

        jXList1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane2.setViewportView(jXList1);

        jXPanel3.add(jScrollPane2);

        jSplitPane1.setLeftComponent(jXPanel3);

        jScrollPane1.setViewportView(jEditorPane1);

        jSplitPane1.setRightComponent(jScrollPane1);

        jXPanel1.add(jSplitPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 490, 220));

        jButton2.setText("Uninstall");
        jXPanel1.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 230, 180, -1));

        jTabbedPane1.addTab("Installed Modul", jXPanel1);

        jXPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jSplitPane2.setDividerLocation(200);

        jXPanel4.setLayout(new javax.swing.BoxLayout(jXPanel4, javax.swing.BoxLayout.Y_AXIS));

        jXTitledPanel2.setMaximumSize(new java.awt.Dimension(2147483647, 20));
        jXTitledPanel2.setMinimumSize(new java.awt.Dimension(31, 29));
        jXTitledPanel2.setPreferredSize(new java.awt.Dimension(31, 25));
        jXTitledPanel2.setTitle("Daftar Modul");
        jXPanel4.add(jXTitledPanel2);

        jXList2.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane3.setViewportView(jXList2);

        jXPanel4.add(jScrollPane3);

        jSplitPane2.setLeftComponent(jXPanel4);

        jScrollPane4.setViewportView(jEditorPane2);

        jSplitPane2.setRightComponent(jScrollPane4);

        jXPanel2.add(jSplitPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 490, 230));

        jTabbedPane1.addTab("Available Modul", jXPanel2);

        jButton1.setText("Close");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTabbedPane1))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 291, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(9, 9, 9)
                .addComponent(jButton1)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        this.hide();

    }//GEN-LAST:event_jButton1ActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JEditorPane jEditorPane1;
    private javax.swing.JEditorPane jEditorPane2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JSplitPane jSplitPane1;
    private javax.swing.JSplitPane jSplitPane2;
    private javax.swing.JTabbedPane jTabbedPane1;
    private org.jdesktop.swingx.JXList jXList1;
    private org.jdesktop.swingx.JXList jXList2;
    private org.jdesktop.swingx.JXPanel jXPanel1;
    private org.jdesktop.swingx.JXPanel jXPanel2;
    private org.jdesktop.swingx.JXPanel jXPanel3;
    private org.jdesktop.swingx.JXPanel jXPanel4;
    private org.jdesktop.swingx.JXTitledPanel jXTitledPanel1;
    private org.jdesktop.swingx.JXTitledPanel jXTitledPanel2;
    // End of variables declaration//GEN-END:variables

   
